<template>
    <div>
        <!-- :model="data" -->
        <el-form ref="formRef">
            <!-- :rules="rules" -->
            <el-form-item label="活动名称" label-width="100px" prop="title">
                <el-select v-model="value" clearable placeholder="全部">
                    <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
                </el-select>
            </el-form-item>
            <el-form-item label="开始时间" label-width="100px" prop="start">
                <el-input autocomplete="off" />
            </el-form-item>
            <el-form-item label="结束时间" label-width="100px" prop="end">
                <el-input autocomplete="off" />
            </el-form-item>
        </el-form>
    </div>
</template>

<script setup lang="ts">import { ref } from 'vue';

const value = ref('')
const options = [
    {
        value: 0,
        label: '全场赠卷',
    },
    {
        value: 1,
        label: '会员赠卷',
    },
    {
        value: 2,
        label: '购物赠卷',
    },
    {
        value: 3,
        label: '注册赠卷',
    }

]
</script>

<style lang="less" scoped>

</style>